/*
Guillaume COLLOMBET
*/

#ifndef PIXEL_H_INCLUDED
#define PIXEL_H_INCLUDED

/*!
\struct Pixel "Définissant un pixel en mémoire.
*/
 struct Pixel{
    unsigned char r;
    unsigned char v;
    unsigned char b;
} typedef Pixel;

/*Mutateurs*/
void setR(Pixel*, unsigned char);
void setV(Pixel*, unsigned char);
void setB(Pixel*, unsigned char);

/*Accesseurs*/
unsigned char R(const Pixel*);
unsigned char V(const Pixel*);
unsigned char B(const Pixel*);

#endif // PIXEL_H_INCLUDED
